package com.doordu.soa.service.comm.constant;

/**
 * 系统存放redis的业务key
 * Created by marvin on 2017/2/22.
 */
public class DoorDuRedisKeyConstant {

    /**
     * 默认超时时间-半小时
     */
    public static final int TIMEOUT_SEC_60 = 60;
    public static final int TIMEOUT_SEC_1800 = 1800;
    public static final int TIMEOUT_SEC_7200 = 7200;

    /**
     * SOA服务默认前缀
     */
    public static final String DD_SOA_KEY = "doordu_soa:";
    
    public static final String DD_GUI_KEY = "ddconnector_unread_command_for_";
    

    public static final String ACCESS_TOKEN_KEY = "access_token:";

    //doordu_soa:subagent:agentid
    public static final String DD_SOA_SUBAGENT = DD_SOA_KEY + "subagent:";
    /**
     * 多度平台key
     */
    public static final String DOORDU_PLAT_MAP_KEY = "doordu_plat_map:";
    /**
     * 数据字典
     */
    public static final String DICT_TYPE_KEY = "dict_type:";


    public static final String LOGIN_TOKEN = "login_token:";

    /**
     * 地区信息
     */
    public static final String AREA_INFO_P = "area_info_p:";
    public static final String AREA_INFO_C = "area_info_c:";
    public static final String AREA_INFO_D = "area_info_d:";
    public static final String CITY_CODE_LIST_KEY = "city_code_list_key";

    /**
     * 综治登录用户信息
     */
    public static final String FLOW_LOGIN_KEY = "flow_login_key:";

    /**
     * 登录用户信息所有子代理商
     */
    public static final String FLOW_AGENTS_KEY = "agents";
    /**
     * 权限
     */
    public static final String PERMISSION_LIST_KEY = "permission_list_key:";
}
